<!DOCTYPE html>
<html lang="en">
<#include "common/head.html">
<body class="fix-header fix-sidebar">

<!-- Preloader - style you can find in spinners.css -->
<div class="preloader">
    <svg class="circular" viewBox="25 25 50 50">
        <circle class="path" cx="50" cy="50" r="20" fill="none"
                stroke-width="2" stroke-miterlimit="10"/>
    </svg>
</div>
<!-- Main wrapper  -->
<div id="main-wrapper">
    <!-- header header  -->
    <#include "common/header.html">
    <!-- End header header -->
    <!-- Left Sidebar  -->
    <#include "common/nav.html">
    <!-- End Left Sidebar  -->
    <!-- Page wrapper  -->
    <div class="page-wrapper">
        <!-- 锐高软件 -->
        <#include "/common/ruigao.html">

        <!--
                    作者：offline
                    时间：2018-03-26
                    描述：更新公司信息
                -->
        <div class="container-fluid">
            <!-- Start Page Content -->
            <div class="row justify-content-center">
                <div class="col-lg-12">
                    <div class="card">
                        <div class="card-body">
                            <div class="card-content">
                                <!-- Left sidebar -->
                                <div class="inbox-leftbar">

                                    <a href="" class="btn btn-danger btn-block waves-effect waves-light">
                                        <font style="vertical-align: inherit;">
                                            <font style="vertical-align: inherit;">公司列表</font>
                                        </font>
                                    </a>
                                </div>
                                <!-- End Left sidebar -->
                                <div class="inbox-rightbar">
                                    <div class="" role="toolbar">
                                        <div class="btn-group">
                                            <button type="button" class="btn btn-light waves-effect"><i
                                                    class="mdi mdi-archive font-18 vertical-middle"></i></button>
                                            <button type="button" class="btn btn-light waves-effect"><i
                                                    class="mdi mdi-alert-octagon font-18 vertical-middle"></i></button>
                                            <button type="button" class="btn btn-light waves-effect"><i
                                                    class="mdi mdi-delete-variant font-18 vertical-middle"></i></button>
                                        </div>

                                        <div class="btn-group">
                                            <button type="button" class="btn btn-light dropdown-toggle waves-effect"
                                                    data-toggle="dropdown" aria-expanded="false"><font
                                                    style="vertical-align: inherit;"><font
                                                    style="vertical-align: inherit;">
                                                更多
                                            </font></font><span class="caret m-l-5"></span>
                                            </button>
                                            <div class="dropdown-menu">

                                                <a class="dropdown-item" href="javascript: void(0);">1</a>
                                                <a class="dropdown-item" href="javascript: void(0);">2</a>
                                                <a class="dropdown-item" href="javascript: void(0);">3</a>
                                                <a class="dropdown-item" href="javascript: void(0);">4</a>

                                            </div>

                                        </div>

                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="form-validation">
                            <form class="form-valide col-lg-8" id="form" action="doupdatevouchers"
                                  style="margin: 0 auto;">
                                <div class="form-group row">
                                    <label class="col-lg-2 col-form-label" for="val-name">面额</label>
                                    <div class="col-lg-10">
                                        <#if (vouchers.vouchersPrice)??>
                                        <input type="text" class="form-control" id="val-name"
                                               name="vouchersPrice" value="${vouchers.vouchersPrice}"
                                               placeholder="${vouchers.vouchersPrice}"
                                        >
                                    </
                                    #if>
                                </div>
                        </div>
                        <div class="form-group row">
                            <label class="col-lg-2 col-form-label" for="val-username">类型</label>
                            <div class="col-lg-10">
                                <select class="form-control issuetype" id="val-skill" name="vouchersType">
                                    <#if (vouchers.vouchersType)??>
                                    <#if (type)??>
                                    <#list type as item>
                                    <#if vouchers.vouchersType == item.typeTypeid>
                                    <option value="${item.typeTypeid}" selected="selected">${item.typeTypevalue}
                                    </option>
                                    <#else>
                                    <option value="${item.typeTypeid}">${item.typeTypevalue}</option>
                                </#if>
                            </
                            #list>
                        </
                        #if>
                    </
                    #if>
                    </select>
                </div>
            </div>
            <div class="form-group row">
                <label class="col-lg-2 col-form-label" for="val-number">有效期</label>
                <div class="col-lg-10">
                    <#if (vouchers.vouchersVal)??>
                    <input type="text" class="form-control" placeholder="${vouchers.vouchersVal?date}"
                           name="vouchersVal" value="${vouchers.vouchersVal?date}"/>
                </
                #if>
            </div>

        </div>


        <div class="form-group row">
            <label class="col-lg-2 col-form-label" for="val-skill">状态</label>
            <div class="col-lg-10">
                <select class="form-control issuetype" id="val-skill" name="vouchersState">
                    <#if (vouchers.vouchersState)??>
                    <#if (type2)??>
                    <#list type2 as item>
                    <#if vouchers.vouchersState == item.typeTypeid>
                    <option value="${item.typeTypeid}" selected="selected">${item.typeTypevalue}</option>
                    <#else>
                    <option value="${item.typeTypeid}">${item.typeTypevalue}</option>
                </#if>
            </
            #list>
        </
        #if>
    </
    #if>
    </select>
</div>
</div>

<div class="form-group row">
    <label class="col-lg-2 col-form-label" for="val-skill">来源</label>
    <div class="col-lg-10">
        <#if (vouchers.vouchersSource)??>
        <input type="text" class="form-control" placeholder="${vouchers.vouchersSource}" name="vouchersSource"
               value="${vouchers.vouchersSource}"/>
    </
    #if>
</div>
</div>

</div>
<div class="form-group row">
    <div class="col-lg-8 ml-auto">
        <input type="submit" class="btn btn-success btn sweet-tijiao " value="更新">
        <#if (vouchers.vouchersId)??>
        <input type="hidden" name="vouchersId" value="${vouchers.vouchersId}" id="selectcompan">
    </
    #if>
    <button type="reset" class="btn btn-primary ">重置</button>
</div>
</div>
</form>

</div>
</div>
</div>
</div>
<!-- End PAge Content -->
</div>

</div>
</div>
<!-- End Container fluid  -->
<!-- footer -->
<#include "common/footer.html">
<!-- End footer -->
<!-- End Page wrapper  -->
<#include "common/js.html">
<script type="text/javascript">

</script>
</body>

</html>